<?php
/**
 * File: cmscolumnstags.php.
 * Author: caoqicheng@haibao.com
 * Editor: PhpStorm
 * Date: 17/2/7 上午10:45
 * Brief:
 */
namespace haibao\jiepai\model\data\columns;

class CmsColumnsTags extends \haibao\jiepai\model\data\Base{
	
	/**
	 * 1->有1即可，2->包含多个
	 */
	const TYPE_ONE = 1 ;
	const TYPE_OTHER = 2 ;
	
	public $ColumnID;

	public $Type;
	
	public $TagID;
	
	public $Text;
	
	public $CreateTime;

	public $ShowIndex;
	
	public $TagName;
	public function __construct(){
		parent::__construct();
		
		$this->intField('ColumnID', 'ColumnID');
		$this->stringField('TagID', 'TagID');
		$this->stringField('Text', 'Text');
		
		$this->intField('ShowIndex', 'ShowIndex');
		$this->intField('Type', 'Type');
		$this->dateField('CreateTime', 'CreateTime');
		
		
		$this->setTableName('cms_columns_tags');
	}
}